package com.zehua.util;

public class PageCommon {
    public static final int PAGE_SIZE=5;

    public static int getTotalPages(int count, int pagesize){
        return count % pagesize == 0 ? (count / pagesize) : (count / pagesize + 1);
    }
}
